/* Layout */
const Layout = resolve => require(['@/views/layout/Layout'], resolve);

const SuperWorkOrderRouterMap = {
  id: 245,
  path: '/superWorkOrder',
  component: Layout,
  name: '超级工单',
  redirect: '/superWorkOrder/feedback',
  meta: {title: '工单管理', icon: 'feedback', power: 'superWorkOrder'},
  alwaysShow: true,
  showMode: 'DEFAULT',
  children: [
    {
      id: 246,
      path: 'feedback',
      name: '工单列表',
      component: resolve => require(['@/views/plugins/superWorkOrder/feedback/list'], resolve),
      meta: {title: '工单列表', icon: 'problems', power: 'superWorkOrder.feedback'}
    }, {
      path: 'feedbackInfo',
      name: '工单详情',
      component: resolve => require(['@/views/plugins/superWorkOrder/feedback/info'], resolve),
      meta: {title: '工单详情', power: 'superWorkOrder.feedbackInfo'},
      hidden: true
    }, {
      id: 247,
      path: 'staff',
      name: '服务人员',
      component: resolve => require(['@/views/plugins/superWorkOrder/staff/list'], resolve),
      meta: {title: '服务人员', icon: 'customer', power: 'superWorkOrder.staff'}
    }, {
      path: 'staffInfo',
      name: '服务人员信息',
      component: resolve => require(['@/views/plugins/superWorkOrder/staff/info'], resolve),
      meta: {title: '服务人员信息', power: 'superWorkOrder.staff.info'},
      hidden: true
    }, {
      path: 'staffModify',
      name: '服务人员信息修改',
      component: resolve => require(['@/views/plugins/superWorkOrder/staff/modify'], resolve),
      meta: {title: '服务人员信息修改', power: 'superWorkOrder.staff.modify'},
      hidden: true
    }, {
      id: 248,
      path: 'serviceType',
      name: '服务列表',
      component: resolve => require(['@/views/plugins/superWorkOrder/area/list'], resolve),
      meta: {title: '服务列表', icon: 'area', power: 'superWorkOrder.area.list'}
    }, {
      path: 'serviceArea',
      name: '服务范围',
      component: resolve => require(['@/views/plugins/superWorkOrder/area/item'], resolve),
      meta: {title: '服务范围', power: 'superWorkOrder.area.item'},
      hidden: true
    }, {
      id: 249,
      path: 'statistics',
      name: '数据统计',
      component: resolve => require(['@/views/plugins/superWorkOrder/statistics/index'], resolve),
      meta: {title: '数据统计', icon: 'chart', power: 'superWorkOrder.statistics'}
    }, {
      id: 250,
      path: 'transfer',
      name: '转单管理',
      component: resolve => require(['@/views/plugins/superWorkOrder/transfer/list'], resolve),
      meta: {title: '转单管理', icon: 'transfer', power: 'superWorkOrder.transfer'}
    }, {
      path: 'transferInfo',
      name: '转单详情',
      component: resolve => require(['@/views/plugins/superWorkOrder/transfer/info'], resolve),
      meta: {title: '转单详情', power: 'superWorkOrder.transferInfo'},
      hidden: true
    }, {
      path: 'transferHandle',
      name: '转单处理',
      component: resolve => require(['@/views/plugins/superWorkOrder/transfer/handle'], resolve),
      meta: {title: '转单处理', power: 'superWorkOrder.transferHandle'},
      hidden: true
    }, {
      id: 251,
      path: 'config',
      name: '基本设置',
      component: resolve => require(['@/views/plugins/superWorkOrder/config/index'], resolve),
      meta: {title: '基本设置', icon: 'steam', power: 'superWorkOrder.config'}
    }
  ]
}

export default SuperWorkOrderRouterMap;
